package com.perfma.xtest.tool;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Sets;
import com.perfma.xtest.tool.word.ResultInfo;
import lombok.Data;

import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;

/**
 * @author: junhui.si
 * @date: 2022-02-21 15:59
 **/
public class UserQueryDemo {
    public static void main(String[] args) {
        String s= "{\"extParams\":{},\"object\":[{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"观洋\",\"uid\":\"575891753342574592\",\"userName\":\"guanyang@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"helloWorld444444\",\"uid\":\"573072821569114112\",\"userName\":\"helloWorld44444@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"鸠摩\",\"uid\":\"572987413782933504\",\"userName\":\"jiumo@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"helloWorld44444helloWorld44444\",\"uid\":\"570871989737897984\",\"userName\":\"helloWorld44444helloWorld44444@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"Testdev001\",\"uid\":\"570539768854286336\",\"userName\":\"Testdev001@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"hahha\",\"uid\":\"570128755335913472\",\"userName\":\"test@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"helloWorld111\",\"uid\":\"568708519797780480\",\"userName\":\"helloWorld111\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"helloWorld\",\"uid\":\"568708196198838272\",\"userName\":\"helloWorld\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"\",\"uid\":\"567986088519397376\",\"userName\":\"ttmpAdmin@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"feiniao\",\"uid\":\"566205101263142912\",\"userName\":\"feiniao@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"ttttt\",\"uid\":\"566072115792384000\",\"userName\":\"mock_beihai_04@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"mock_beihai_03\",\"uid\":\"565734245864882176\",\"userName\":\"mock_beihai_03@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"111@a.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"北海mock\",\"uid\":\"565730657038012416\",\"userName\":\"mock_beihai_01@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"行露大佬\",\"uid\":\"562889552688611328\",\"userName\":\"xinglu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test33333333\",\"uid\":\"561164019735322624\",\"userName\":\"test33333333@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"云杉\",\"uid\":\"560648734498373632\",\"userName\":\"yunshan@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"白寒\",\"uid\":\"558851574328807424\",\"userName\":\"baihan@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"xinxian\",\"uid\":\"558842482856120320\",\"userName\":\"xinxian@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"星云\",\"uid\":\"558474853151109120\",\"userName\":\"yefei@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"24411123@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"123st444\",\"uid\":\"556300536170614784\",\"userName\":\"t123444@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"木央\",\"uid\":\"554940329834164224\",\"userName\":\"muyang@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test111111111\",\"uid\":\"554266977595383808\",\"userName\":\"test111111111@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"jinzhou.song@perfma.com\",\"imgUrl\":\"2021/paas/default/res/icon_2.png\",\"isBusiness\":false,\"nickName\":\"jinzhou2\",\"uid\":\"553920029227024384\",\"userName\":\"jinzhou@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"6271159134@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test123123\",\"uid\":\"553847324645584896\",\"userName\":\"test00001@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"ttmpAdmin@perfma.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"ttmpAdmin@perfma.com\",\"uid\":\"553515505131769857\",\"userName\":\"ttmpAdmin\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"1\",\"uid\":\"553127333948289024\",\"userName\":\"1@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"24444323@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test444\",\"uid\":\"381042331148771328\",\"userName\":\"test444@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"222222323@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test333\",\"uid\":\"381042071131279360\",\"userName\":\"test333@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"112312323@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test2222\",\"uid\":\"381040696422973440\",\"userName\":\"test22222@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"123456@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test1111111111\",\"uid\":\"381022490056650752\",\"userName\":\"test1111111111@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"test0001\",\"uid\":\"380998564190527488\",\"userName\":\"test0001@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"阿贵\",\"uid\":\"380620228108886016\",\"userName\":\"agui@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"初七\",\"uid\":\"380620226041094144\",\"userName\":\"chuqi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"成毅\",\"uid\":\"380620223037972480\",\"userName\":\"chengyi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"谨恩\",\"uid\":\"380620220047433728\",\"userName\":\"jinen@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"清无\",\"uid\":\"380620215026851840\",\"userName\":\"qingwu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"泫箜\",\"uid\":\"380620217375662080\",\"userName\":\"xuankong@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"大托\",\"uid\":\"380620210354397184\",\"userName\":\"datuo@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"627159134@qq.com\",\"imgUrl\":\"2021/paas/default/res/icon_3.png\",\"isBusiness\":false,\"nickName\":\"重楼2\",\"uid\":\"380620207825231872\",\"userName\":\"chonglou@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"长苏\",\"uid\":\"380620205472227328\",\"userName\":\"changsu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"剁椒\",\"uid\":\"380620201928040448\",\"userName\":\"duojiao@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_7.png\",\"isBusiness\":false,\"nickName\":\"陈皮\",\"uid\":\"380620193971445760\",\"userName\":\"chenpi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"知寿\",\"uid\":\"380620190062354432\",\"userName\":\"zhishou@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"诃徳\",\"uid\":\"380620192012705792\",\"userName\":\"hede@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"贝儿\",\"uid\":\"380620184861417472\",\"userName\":\"beier@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"成龙\",\"uid\":\"380620188132974592\",\"userName\":\"chenglong@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"文武\",\"uid\":\"380620186325229568\",\"userName\":\"wenwu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"八蛋\",\"uid\":\"380620182940426240\",\"userName\":\"badan@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"无名\",\"uid\":\"380620180566450176\",\"userName\":\"wuming@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"安妮\",\"uid\":\"380620178569961472\",\"userName\":\"anni@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"品诺\",\"uid\":\"380620177009680384\",\"userName\":\"pinnuo@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"三丰\",\"uid\":\"380620174602149888\",\"userName\":\"sanfeng@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"图图\",\"uid\":\"380620172702130176\",\"userName\":\"tutu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"菜鸟\",\"uid\":\"380620168004509696\",\"userName\":\"cainiao@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"宁凝\",\"uid\":\"380620170202324992\",\"userName\":\"ningning@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"比特\",\"uid\":\"380620164829421568\",\"userName\":\"bite@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"星辰\",\"uid\":\"380620162098929664\",\"userName\":\"xingchen@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"子苓\",\"uid\":\"380620159980806144\",\"userName\":\"ziling@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"晴飔\",\"uid\":\"380620156797329408\",\"userName\":\"qingsi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"小宝\",\"uid\":\"380620151650918400\",\"userName\":\"xiaobao@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"西斯\",\"uid\":\"380620154167500800\",\"userName\":\"xisi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"文和\",\"uid\":\"380620149125947392\",\"userName\":\"wenhe@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"蓝玉\",\"uid\":\"380620147066544128\",\"userName\":\"lanyu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"martindai@dingtalk.com\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"大明\",\"uid\":\"380620144659013632\",\"userName\":\"daming@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"无涯\",\"uid\":\"380620142381506560\",\"userName\":\"wuya@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"流苏2222\",\"uid\":\"380620139642626048\",\"userName\":\"liusu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"飞渔\",\"uid\":\"380620137025380352\",\"userName\":\"feiyu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"沐川\",\"uid\":\"380620134571712512\",\"userName\":\"muchuan@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"青阳\",\"uid\":\"380620131799277568\",\"userName\":\"qingyang@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"地念\",\"uid\":\"380620129106534400\",\"userName\":\"dinian@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"周五\",\"uid\":\"380620126409596928\",\"userName\":\"zhouwu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"默凡\",\"uid\":\"380620121858777088\",\"userName\":\"mofan@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"棪木\",\"uid\":\"380620124295667712\",\"userName\":\"yanmu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"玄霄\",\"uid\":\"380620118595608576\",\"userName\":\"xuanxiao@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"维西\",\"uid\":\"380620113373700096\",\"userName\":\"weixi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"沙巫\",\"uid\":\"380620115735093248\",\"userName\":\"shawu@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"小雷\",\"uid\":\"380620111066832896\",\"userName\":\"xiaolei@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"兵长\",\"uid\":\"380620108315369472\",\"userName\":\"bingzhang@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"鸡毛\",\"uid\":\"380620106104971264\",\"userName\":\"jimao@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"李白\",\"uid\":\"380620101830975488\",\"userName\":\"libai@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"songjinzhou1@163.com\",\"imgUrl\":\"2021/paas/default/res/icon_2.png\",\"isBusiness\":false,\"nickName\":\"明非哈哈哈\",\"uid\":\"380620103919738880\",\"userName\":\"mingfei@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"明海\",\"uid\":\"380620109545079802\",\"userName\":\"minghai@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"慕澜\",\"uid\":\"380620099545079808\",\"userName\":\"mulan@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"风驰\",\"uid\":\"380620097515036672\",\"userName\":\"fengchi@PerfMa\"},{\"bid\":\"1\",\"delete\":false,\"email\":\"\",\"imgUrl\":\"2021/paas/default/res/icon_1.png\",\"isBusiness\":false,\"nickName\":\"admin\",\"uid\":\"1\",\"userName\":\"admin\"}],\"success\":true}";
        ResultInfo<List<JSONObject>> resultInfo = JSON.parseObject(s, ResultInfo.class);
        List<User> list = JSON.parseArray(JSON.toJSONString(resultInfo.getObject()), User.class);
        List<String> nickNameList1 = list.stream().map(User::getNickName).collect(Collectors.toList());
        System.out.println("1:" + nickNameList1.size());

        List<String> nickNameList2 = nickNameList1.stream().distinct().collect(Collectors.toList());
        System.out.println("2:" + nickNameList2.size());

        Set<String> nicknameSet = Sets.newHashSet();
        nickNameList1.forEach(n -> {
            if (nicknameSet.contains(n)) {
                System.out.println(n);
            }
            nicknameSet.add(n);
        });
    }

    @Data
    static class User {
        private String nickName;
    }
}
